package love.bot.forli.group.review.bean.Vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import love.bot.forli.group.review.bean.Option;

import java.util.List;

/**
 * @author Kontori
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "题目Vo")
public class AddQuestionVo {

    @ApiModelProperty(value = "题目", required = true)
    private String title;

    @ApiModelProperty(value = "题目类型，0单选1多选2判断", required = true)
    private Integer type;

    @ApiModelProperty(value = "选项，若为判断题，无需传入")
    private List<Option> options;

    @ApiModelProperty(value = "正确答案", required = true, example = "false")
    private List<Boolean> answers;

    @ApiModelProperty(value = "归属题组ID", required = true)
    private Integer questionGroupId;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "分数", required = true)
    private Integer score;

}
